package com.his.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * 友情链接实体类
 * 
 * @author liumiaoyue
 * 
 */
public class FriendlinkForm extends ActionForm {

	private int fid;

	private String relateName;

	private String recommendAddress;

	private String recommendName;

	private String relateAddress;

	/**
	 * Method validate 表单验证
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return null;
	}

	/**
	 * Method reset 表单重置
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}

	public int getFid() {
		return fid;
	}

	public void setFid(int fid) {
		this.fid = fid;
	}

	public String getRelateName() {
		return relateName;
	}

	public void setRelateName(String relateName) {
		this.relateName = relateName;
	}

	public String getRecommendAddress() {
		return recommendAddress;
	}

	public void setRecommendAddress(String recommendAddress) {
		this.recommendAddress = recommendAddress;
	}

	public String getRecommendName() {
		return recommendName;
	}

	public void setRecommendName(String recommendName) {
		this.recommendName = recommendName;
	}

	public String getRelateAddress() {
		return relateAddress;
	}

	public void setRelateAddress(String relateAddress) {
		this.relateAddress = relateAddress;
	}

}